package com.andy.blog.dal.service;

import com.andy.blog.dal.domain.SysRoleMenuDO;

import java.util.List;

/**
 * Created by andy on 2023/9/16 15:16
 */
public interface SysRoleMenuDalService {

    /**
     * 通过角色ID删除角色和菜单关联
     *
     * @param roleId 角色ID
     * @return 结果
     */
    int deleteRoleMenuByRoleId(Long roleId);

    /**
     * 批量新增
     */
    int batchRoleMenu(List<SysRoleMenuDO> roleMenuList);
}
